﻿using System;
using Ensemble_Windows.Core;
using NLua;

namespace EnsembleGame
{
    internal static class Program
    {
        /// <summary>
        ///     应用程序的主入口点。
        /// </summary>
        [STAThread]
        public static void Main()
        {
            var lua = new Lua();
            var config = new Configuration();
            lua["config"] = config;
            //LuaHelper.LoadScript<Configuration>(Mod.LuaInitPath, lua, config);

            var game = new MainGame();

            game.Run(config);
        }
    }
}